
part of 'LUMATasks.dart';


T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
    'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

ListModel _$ListModelFromJson(Map<String, dynamic> json) {
  return _ListModel.fromJson(json);
}

mixin _$ListModel {
  String get title => throw _privateConstructorUsedError;
  String? get description => throw _privateConstructorUsedError;
  String? get icon => throw _privateConstructorUsedError;
  String get id => throw _privateConstructorUsedError;

  
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  
  
  @JsonKey(includeFromJson: false, includeToJson: false)
  $ListModelCopyWith<ListModel> get copyWith =>
      throw _privateConstructorUsedError;
}

abstract class $ListModelCopyWith<$Res> {
  factory $ListModelCopyWith(ListModel value, $Res Function(ListModel) then) =
      _$ListModelCopyWithImpl<$Res, ListModel>;
  @useResult
  $Res call({String title, String? description, String? icon, String id});
}

class _$ListModelCopyWithImpl<$Res, $Val extends ListModel>
    implements $ListModelCopyWith<$Res> {
  _$ListModelCopyWithImpl(this._value, this._then);

  
  final $Val _value;
  
  final $Res Function($Val) _then;

  
  
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? title = null,
    Object? description = freezed,
    Object? icon = freezed,
    Object? id = null,
  }) {
    return _then(_value.copyWith(
      title: null == title
          ? _value.title
          : title 
              as String,
      description: freezed == description
          ? _value.description
          : description 
              as String?,
      icon: freezed == icon
          ? _value.icon
          : icon 
              as String?,
      id: null == id
          ? _value.id
          : id 
              as String,
    ) as $Val);
  }
}

abstract class _$$ListModelImplCopyWith<$Res>
    implements $ListModelCopyWith<$Res> {
  factory _$$ListModelImplCopyWith(
          _$ListModelImpl value, $Res Function(_$ListModelImpl) then) =
      __$$ListModelImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String title, String? description, String? icon, String id});
}

class __$$ListModelImplCopyWithImpl<$Res>
    extends _$ListModelCopyWithImpl<$Res, _$ListModelImpl>
    implements _$$ListModelImplCopyWith<$Res> {
  __$$ListModelImplCopyWithImpl(
      _$ListModelImpl _value, $Res Function(_$ListModelImpl) _then)
      : super(_value, _then);

  
  
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? title = null,
    Object? description = freezed,
    Object? icon = freezed,
    Object? id = null,
  }) {
    return _then(_$ListModelImpl(
      title: null == title
          ? _value.title
          : title 
              as String,
      description: freezed == description
          ? _value.description
          : description 
              as String?,
      icon: freezed == icon
          ? _value.icon
          : icon 
              as String?,
      id: null == id
          ? _value.id
          : id 
              as String,
    ));
  }
}

@JsonSerializable()
class _$ListModelImpl implements _ListModel {
  const _$ListModelImpl(
      {required this.title,
      required this.description,
      required this.icon,
      required this.id});

  factory _$ListModelImpl.fromJson(Map<String, dynamic> json) =>
      _$$ListModelImplFromJson(json);

  @override
  final String title;
  @override
  final String? description;
  @override
  final String? icon;
  @override
  final String id;

  @override
  String toString() {
    return 'ListModel(title: $title, description: $description, icon: $icon, id: $id)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$ListModelImpl &&
            (identical(other.title, title) || other.title == title) &&
            (identical(other.description, description) ||
                other.description == description) &&
            (identical(other.icon, icon) || other.icon == icon) &&
            (identical(other.id, id) || other.id == id));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, title, description, icon, id);

  
  
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$ListModelImplCopyWith<_$ListModelImpl> get copyWith =>
      __$$ListModelImplCopyWithImpl<_$ListModelImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$ListModelImplToJson(
      this,
    );
  }
}

abstract class _ListModel implements ListModel {
  const factory _ListModel(
      {required final String title,
      required final String? description,
      required final String? icon,
      required final String id}) = _$ListModelImpl;

  factory _ListModel.fromJson(Map<String, dynamic> json) =
      _$ListModelImpl.fromJson;

  @override
  String get title;
  @override
  String? get description;
  @override
  String? get icon;
  @override
  String get id;

  
  
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$ListModelImplCopyWith<_$ListModelImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
